home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / comm / mail / YAM23src.lha / Source / all_storm.c < prev    next >
C/C++ Source or Header  |  2001-05-08  |  2KB  |  87 lines

  1. /***************************************************************************
  2.  
  3.  YAM - Yet Another Mailer
  4.  Copyright (C) 1995-2000 by Marcel Beck <mbeck@yam.ch>
  5.  Copyright (C) 2000-2001 by YAM Open Source Team
  6.  
  7.  This program is free software; you can redistribute it and/or modify
  8.  it under the terms of the GNU General Public License as published by
  9.  the Free Software Foundation; either version 2 of the License, or
  10.  (at your option) any later version.
  11.  
  12.  This program is distributed in the hope that it will be useful,
  13.  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  GNU General Public License for more details.
  16.  
  17.  You should have received a copy of the GNU General Public License
  18.  along with this program; if not, write to the Free Software
  19.  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  20.  
  21.  YAM Official Support Site :  http://www.yam.ch
  22.  YAM OpenSource project    :  http://sourceforge.net/projects/yamos/
  23.  
  24.  $Id: all_storm.c,v 1.2 2001/05/08 22:27:37 damato Exp $
  25.  
  26. ***************************************************************************/
  27.  
  28. #define __inline
  29. #include "extrasrc/md5.c"
  30. #undef __inline
  31. #include "extrasrc/astcsma.c"
  32. #include "extrasrc/getft.c"
  33. #include "extrasrc/stccpy.c"
  34. #include "extrasrc/stcgfe.c"
  35. #include "extrasrc/stcgfn.c"
  36. #include "extrasrc/stpblk.c"
  37. #include "extrasrc/strmfp.c"
  38. #include "extrasrc/strsfn.c"
  39. #include "extrasrc/wbpath.c"
  40. #include "extrasrc/NewReadArgs.c"
  41. #include "extrasrc/stch_i.c"
  42. char *index(const char *s, int c)
  43. {
  44.    return strchr (s, c);
  45. }
  46. #include <proto/dos.h>
  47. int access(const char * name, int x)
  48. {
  49.    BPTR l;
  50.  
  51.    if((l=Lock(name,ACCESS_READ)))
  52.    {
  53.       UnLock(l);
  54.       return 1;
  55.    }
  56.  
  57.    return 0;
  58. }
  59. void bcopy(const void *src, void *dst, size_t len)
  60. {
  61.    memcpy(dst, src, len);
  62. }
  63. char *strdup(const char *str)
  64. {
  65.    char *s;
  66.  
  67.    if(!str) return NULL;
  68.  
  69.    if((s=malloc(strlen(str))))
  70.    {
  71.       strcpy(s,str);
  72.       return s;
  73.    }
  74.  
  75.    return NULL;
  76. }
  77.  
  78. void main(int, char *[]);
  79. struct WBStartup *_WBenchMsg;
  80. void wbmain(struct WBStartup *wbs)
  81. {
  82.    _WBenchMsg=wbs;
  83.    main(0, (char**)wbs);
  84. }
  85.  
  86. void KPrintf() {};
  87.